package com.syq.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.util.StringUtils;

@Data
@ToString
public class SysScene  implements CheckNull{

  private long sceneId;
  private String sceneName;
  private long createBy;
  private java.sql.Timestamp createTime;
  private long status;


  @Override
  public boolean isEmpty(CheckType type) {
    switch (type){
      case ADD :
        return !StringUtils.hasText(sceneName);
    }
    return false;
  }
}
